import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-equipment-import',
  templateUrl: './equipment-import.component.html',
  styleUrls: ['./equipment-import.component.scss']
})
export class EquipmentImportComponent implements OnInit {
  cols;
  assets;
  constructor() { }

  ngOnInit() {
    this.cols = [
      {field: 'ano', header: '设备编码'},
      {field: 'father', header: '从属于'},
      {field: 'asset_no', header: '固定资产编号'},
      {field: 'name', header: '设备名称'},
      {field: 'status', header: '设备状态'},
      {field: 'room', header: '机房'},
      {field: 'cabinet', header: '机柜'},
      {field: 'location', header: 'U位'},
      {field: 'ip', header: '管理IP'},
   ];
  }
}
